package structure.adapter;

/**
 * @author lzp
 * @Date:2023/2/24
 * @description: 适配器测试类
 */
public class AdapterDemo {

	public static void main(String[] args) {
		// 利用适配器将callable实现类适配为runnable实现类，开启线程执行
		new Thread(new RunnableAdapter(new Task(10L))).start();


	}

}
